package com.founder.gateway.orm.fzapi.bean.dto;
import com.founder.gateway.orm.fzapi.bean.entity.ApiParamEntity;
import java.util.*;
import org.setu.framework.bean.BaseDto;
import org.setu.framework.jdbc.core.Column;
import org.setu.framework.utils.DateTimeHelper;
/**
 * 
 * @author: hfl 
 */
public class ApiParamDto extends BaseDto<ApiParamEntity>{

	private static  final long serialVersionUID = 1L;

	public ApiParamDto(){
	}

	public static final String TABLE_NAME= "api_param";

	public static final String id= "id";
	public static final Column id_C= new Column(id);

	public static final String api_entity_id= "apiEntityId";
	public static final Column api_entity_id_C= new Column(api_entity_id);

	public static final String api_scheme_id= "apiSchemeId";
	public static final Column api_scheme_id_C= new Column(api_scheme_id);

	public static final String params_type= "paramsType";
	public static final Column params_type_C= new Column(params_type);

	public static final String para_name= "paraName";
	public static final Column para_name_C= new Column(para_name);

	public static final String para_alias= "paraAlias";
	public static final Column para_alias_C= new Column(para_alias);

	public static final String des= "des";
	public static final Column des_C= new Column(des);

	public static final String verify_type= "verifyType";
	public static final Column verify_type_C= new Column(verify_type);

	public static final String verify_value= "verifyValue";
	public static final Column verify_value_C= new Column(verify_value);

	public static final String verify_error_info= "verifyErrorInfo";
	public static final Column verify_error_info_C= new Column(verify_error_info);

	public static final String required= "required";
	public static final Column required_C= new Column(required);

	public static final String xt_lrsj= "xtLrsj";
	public static final Column xt_lrsj_C= new Column(xt_lrsj);

	public static final String xt_lrrxm= "xtLrrxm";
	public static final Column xt_lrrxm_C= new Column(xt_lrrxm);

	public static final String xt_lrrid= "xtLrrid";
	public static final Column xt_lrrid_C= new Column(xt_lrrid);

	public static final String xt_lrip= "xtLrip";
	public static final Column xt_lrip_C= new Column(xt_lrip);

	public static final String xt_zhxgsj= "xtZhxgsj";
	public static final Column xt_zhxgsj_C= new Column(xt_zhxgsj);

	public static final String xt_zhxgrxm= "xtZhxgrxm";
	public static final Column xt_zhxgrxm_C= new Column(xt_zhxgrxm);

	public static final String xt_zhxgrid= "xtZhxgrid";
	public static final Column xt_zhxgrid_C= new Column(xt_zhxgrid);

	public static final String xt_zhxgip= "xtZhxgip";
	public static final Column xt_zhxgip_C= new Column(xt_zhxgip);

	public static final String xt_zxbz= "xtZxbz";
	public static final Column xt_zxbz_C= new Column(xt_zxbz);

	public static final String xt_zxyy= "xtZxyy";
	public static final Column xt_zxyy_C= new Column(xt_zxyy);



	public String getId(){
		return po.getId();
	}

	public void setId(String id){
		 po.setId(id);
	}

	public String getApiEntityId(){
		return po.getApiEntityId();
	}

	public void setApiEntityId(String apiEntityId){
		 po.setApiEntityId(apiEntityId);
	}

	public String getApiSchemeId(){
		return po.getApiSchemeId();
	}

	public void setApiSchemeId(String apiSchemeId){
		 po.setApiSchemeId(apiSchemeId);
	}

	public String getParamsType(){
		return po.getParamsType();
	}

	public void setParamsType(String paramsType){
		 po.setParamsType(paramsType);
	}

	public String getParaName(){
		return po.getParaName();
	}

	public void setParaName(String paraName){
		 po.setParaName(paraName);
	}

	public String getParaAlias(){
		return po.getParaAlias();
	}

	public void setParaAlias(String paraAlias){
		 po.setParaAlias(paraAlias);
	}

	public String getDes(){
		return po.getDes();
	}

	public void setDes(String des){
		 po.setDes(des);
	}

	public String getVerifyType(){
		return po.getVerifyType();
	}

	public void setVerifyType(String verifyType){
		 po.setVerifyType(verifyType);
	}

	public String getVerifyValue(){
		return po.getVerifyValue();
	}

	public void setVerifyValue(String verifyValue){
		 po.setVerifyValue(verifyValue);
	}

	public String getVerifyErrorInfo(){
		return po.getVerifyErrorInfo();
	}

	public void setVerifyErrorInfo(String verifyErrorInfo){
		 po.setVerifyErrorInfo(verifyErrorInfo);
	}

	public Boolean getRequired(){
		return "1".equals(po.getRequired())?true:Boolean.parseBoolean(po.getRequired());
	}

	public void setRequired(boolean required){
		 po.setRequired(required?"1":"0");
	}

	public Date getXtLrsj(){
		return  DateTimeHelper.parseToDate(po.getXtLrsj());
	}

	public void setXtLrsj(Date xtLrsj){
		 po.setXtLrsj(DateTimeHelper.formatDateTimetoString(xtLrsj));
	}

	public String getXtLrrxm(){
		return po.getXtLrrxm();
	}

	public void setXtLrrxm(String xtLrrxm){
		 po.setXtLrrxm(xtLrrxm);
	}

	public String getXtLrrid(){
		return po.getXtLrrid();
	}

	public void setXtLrrid(String xtLrrid){
		 po.setXtLrrid(xtLrrid);
	}

	public String getXtLrip(){
		return po.getXtLrip();
	}

	public void setXtLrip(String xtLrip){
		 po.setXtLrip(xtLrip);
	}

	public Date getXtZhxgsj(){
		return  DateTimeHelper.parseToDate(po.getXtZhxgsj());
	}

	public void setXtZhxgsj(Date xtZhxgsj){
		 po.setXtZhxgsj(DateTimeHelper.formatDateTimetoString(xtZhxgsj));
	}

	public String getXtZhxgrxm(){
		return po.getXtZhxgrxm();
	}

	public void setXtZhxgrxm(String xtZhxgrxm){
		 po.setXtZhxgrxm(xtZhxgrxm);
	}

	public String getXtZhxgrid(){
		return po.getXtZhxgrid();
	}

	public void setXtZhxgrid(String xtZhxgrid){
		 po.setXtZhxgrid(xtZhxgrid);
	}

	public String getXtZhxgip(){
		return po.getXtZhxgip();
	}

	public void setXtZhxgip(String xtZhxgip){
		 po.setXtZhxgip(xtZhxgip);
	}

	public Integer getXtZxbz(){
		return Integer.parseInt(po.getXtZxbz());
	}

	public void setXtZxbz(int xtZxbz){
		 po.setXtZxbz(String.valueOf(xtZxbz));
	}

	public String getXtZxyy(){
		return po.getXtZxyy();
	}

	public void setXtZxyy(String xtZxyy){
		 po.setXtZxyy(xtZxyy);
	}

}
